<?php
namespace Portal\Model;
use Think\Model;
class MemberModel extends Model {

    public function insertSellerInfo($data){
        if(!$data){
            return false;
        }
        $res = M('member')->add($data);
        return $res;
    }

    public function reviseSellerInfo($cond,$data){
        if(!$cond || !$data){
            return false;
        }
        $res = M('member')->where($cond)->save($data);
        return $res;
    }

}